package com.dhcc.sds.base.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.dhcc.cdc.sys.entity.DictionaryEntity;
import com.dhcc.core.framework.base.entity.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * 项目校验规则表
 * 
 * @ClassName: SdsQcfitemMatchRuleEntity
 * @Description: TODO
 * @author sunyingjie
 * @date 2021-04-15 11:14:54
 */
@TableName("t_sds_ct_qcfitem_match_rule")
public class SdsQcfitemMatchRuleEntity extends BaseEntity<SdsQcfitemMatchRuleEntity> {
	private static final long serialVersionUID = 1L;
	
	//校验项目
	private Long formItemId;
	//校验函数id
	private Long controlExpId;
	@TableField(exist = false)
	private SdsExpressEntity expDict;
	//校验代码
	private String controlCode;	
	//校验名称
	private String controlDesc;	
	//校验表达式
	private String controlExp;	
	//校验级别
	private Long controlLevel;
	@TableField(exist = false)
	private DictionaryEntity levelDict;
	//序号
	private Integer indNo;
	//更新时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateDate;
	//更新人
	private String updateUser;
	//提示内容
	private String TipText;

	/**
	 * 设置：校验项目
	 */
	public void setFormItemId(Long formItemId) {
		this.formItemId = formItemId;
	}
	/**
	 * 获取：校验项目
	 */
	public Long getFormItemId() {
		return formItemId;
	}
	/**
	 * 设置：校验函数ID
	 */
	public void setControlExpId(Long controlExpId) {
		this.controlExpId = controlExpId;
	}
	/**
	 * 获取：校验函数ID
	 */
	public Long getControlExpId() {
		return controlExpId;
	}
	/**
	 * 设置：校验代码
	 */
	public void setControlCode(String controlCode) {
		this.controlCode = controlCode;
	}
	/**
	 * 获取：校验代码
	 */
	public String getControlCode() {
		return controlCode;
	}
	/**
	 * 设置：校验名称
	 */
	public void setControlDesc(String controlDesc) {
		this.controlDesc = controlDesc;
	}
	/**
	 * 获取：校验名称
	 */
	public String getControlDesc() {
		return controlDesc;
	}
	/**
	 * 设置：校验表达式
	 */
	public void setControlExp(String controlExp) {
		this.controlExp = controlExp;
	}
	/**
	 * 获取：校验表达式
	 */
	public String getControlExp() {
		return controlExp;
	}
	/**
	 * 设置：校验级别
	 */
	public void setControlLevel(Long controlLevel) {
		this.controlLevel = controlLevel;
	}
	/**
	 * 获取：校验级别
	 */
	public Long getControlLevel() {
		return controlLevel;
	}
	/**
	 * 设置：序号
	 */
	public void setIndNo(Integer indNo) {
		this.indNo = indNo;
	}
	/**
	 * 获取：序号
	 */
	public Integer getIndNo() {
		return indNo;
	}
	/**
	 * 设置：更新人
	 */
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	/**
	 * 获取：更新人
	 */
	public String getUpdateUser() {
		return updateUser;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getTipText() {
		return TipText;
	}

	public void setTipText(String tipText) {
		TipText = tipText;
	}

	public SdsExpressEntity getExpDict() {
		return expDict;
	}

	public void setExpDict(SdsExpressEntity expDict) {
		this.expDict = expDict;
	}

	public DictionaryEntity getLevelDict() {
		return levelDict;
	}

	public void setLevelDict(DictionaryEntity levelDict) {
		this.levelDict = levelDict;
	}
}
